package net.steam.easyjoboa.biz;

import java.util.List;

import net.steam.easyjoboa.entity.Tickler;


public interface TicklerBiz {
	
	/**
	 * 添加日程
	 */ 
	Integer add(Tickler ticker);
	
	/**
	 * 批量删除
	 */
	void delete(int[] id);
	
	/**
	 * 根据userId查找个人日程安排
	 * @param id
	 * @return
	 */
	List<Tickler> getTicklerByUserId(Integer userId);
	
	/**
	 * 按范围查找日期
	 * @param startDate
	 * @param endDate
	 * @return
	 */
	List<Tickler> searchSchedule(Integer userId,String startDate,String endDate);
}
